package com.gxa.logistics.service.impl;

import com.gxa.logistics.domain.vo.PersonRecordVO;
import com.gxa.logistics.mapper.PersonRecordMapper;
import com.gxa.logistics.mapper.PlanRecordMapper;
import com.gxa.logistics.service.PersonRecordService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Collections;
import java.util.List;

@Service
public class PersonRecordImpl implements PersonRecordService {
    @Autowired
    private PersonRecordMapper personRecordMapper;
    @Override
    public List<PersonRecordVO> selectAllPerson(String year) {
        return personRecordMapper.selectAllPerson(year);
    }

    @Override
    public Integer selectPersonMonthNum(String i, Integer j) {
        return personRecordMapper.selectPersonMonthNum(i,j);
    }
}
